//
//  CollectionViewCell.m
//  WD-Movies
//
//  Created by 宋梦华 on 2019/1/25.
//  Copyright © 2019年 chuck. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setForCell:(MoviesModel *)model{
    if (model) {
        self.imgView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model.imageUrl]]]];
    }
}

@end
